import ReactDOM from "react-dom/client";
//初始化样式
import "reset-css";

//全局样式
import "@/assets/styles/global.scss";
import App from "./App.tsx";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import store from "./store/index.ts";
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
  <Provider store={store}>
    <BrowserRouter basename="/dist">
      <App />
    </BrowserRouter>
  </Provider>
);
